<template>
  <div>
    <van-nav-bar title="快递员认证" left-arrow @click-left="goback"/>
    <div>所属公司     {{login.postCompany}}</div>
    <div >
      <van-image :src="dataInfo.workCardImage"/>
    </div>
  </div>
</template>
<script>
import axios from "axios";

export default {
  name: "CourierCertificationInformation",
  data() {
    return {
      login: JSON.parse(localStorage.getItem('login')),
      dataInfo: {}
    }
  },
  created() {
      this.getInfo();
  },
  methods: {
    goback() {
      this.$router.go(-1);
    },
    getInfo() {
      axios.get('http://localhost:11219/express/expressdetial/user/getUserInfo/' + this.login.registerIp).then(res => {
        if (res.data.code == 200) {
          this.dataInfo = res.data.data;
        }
      })
    },
  }
}
</script>
<style scoped>

</style>